<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>赛事竞猜</title>
    <link rel="stylesheet" href="styles.css">
    <style>  
        body {  
            background-image: url('https://images.unsplash.com/photo-1517315003714-a071486bd9ea?q=80&w=1771&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');  
            background-size: cover;  
            background-repeat: no-repeat;  
            color: #0f0e0e;  
            font-family: Arial, sans-serif;  
            overflow-x: hidden;  
            margin: 0;  
            padding: 0;  
        }  
    </style>  
</head>
<body>
    
    <div class="container">
        <h1 class="title">抗扑赛事</h1>
        <div id="matchList">
            <!-- 比赛列表将动态填充 -->
        </div>
        <style>
        .title {
            text-align: center; /* 水平居中 */  
            font-family: 'Arial', sans-serif; /* 选择一个美观的字体，这里以Arial为例 */  
            font-size: 3em; /* 调整字体大小 */  
            color: #2c3e50; /* 调整字体颜色 */  
            text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); /* 添加文字阴影 */  
            transform: skewX(2deg); /* 稍微倾斜文字（可选） */  
            margin-top: 50px; /* 调整上边距，使标题更居中（可选） */  
        }

        /* 可以添加一些背景效果 */
        body {
            background-color: #ecf0f1;      /* 页面背景颜色 */
        }

        .match-item {
            background-color: #f4f4f4;
            border: 1px solid #ddd;
            border-radius: 8px;
            padding: 15px;
            margin-bottom: 20px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
            max-width: 600px;
            display: flex;
            flex-direction: column;
            align-items: center;
            transition: transform 0.2s;
            margin: 0 auto;          /* 水平居中 */  
        }

        .match-item:hover {
            transform: scale(1.02);
        }

        .match-teams {
            font-size: 20px;
            font-weight: bold;
            color: #333;
            margin-bottom: 10px;
        }

        .match-details {
            font-size: 14px;
            color: #666;
            margin-bottom: 15px;
        }

        .match-button {
            background-color: #007bff;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .match-button:hover {
            background-color: #0056b3;
        }

        </style>
    <script src="script.js"></script>
    <script src="./js/common.js"></script>
</body>
</html>
